#include "header.h"        
main()
{
      int n;
      int a1[]={1,2,0,0,0,3,4};
      int a2[]={1,1,1,1,0,0,0,0,0,2,1,2,18};
      int a3[]={1, 2, 0, 0, 3, 4};
      int a4[]={1,2,0,0,0,3,4,5};
      int a5[]={3,8,3,0,0,0,3,3};
      int a6[]={1,2,0,0,0,3,4,0};
      int a7[]={0,1,2,0,0,0,3,4};
      int a8[]={0,0,0};
      printf("nhap vao so n ");
      scanf("%d",&n);
      printf("cau 2\n");
      cau2(n);
      printf("\ncau3\n");
      cau3(n);
      printf("\n cau 1\n");
      n=LENGHT(a1);
      cau1(a1,n);
      n=LENGHT(a2);
      cau1(a2,n);
      n=LENGHT(a3);
      cau1(a3,n);
      n=LENGHT(a4);
      cau1(a4,n);
      n=LENGHT(a5);
      cau1(a5,n);
      n=LENGHT(a6);
      cau1(a6,n);
      n=LENGHT(a7);
      cau1(a7,n);
      n=LENGHT(a8);
      cau1(a8,n);
      getch();
      }
